#include <stdio.h>

int main(int argc, char const *argv[])
{
    printf("Show total %d arguement vector(s) of main function:\n", argc);

    int i;
    for(i=0; i<argc; i++)
    {
        printf("argv[%d] = %s\n", i, argv[i]);
    }

    return 0;
}

/*
main函数的参数传递
*/